<?php 
class DomArTestClass_Access extends DomArObject {
	
	/**
	* @orm text
	*/
	public $public = 'public';
	
	/**
	* @orm text
	*/
	protected $protected = 'protected';
	
	/**
	* @orm text
	*/
	private $private = 'private';
	
	
	public function accessPublic() {
		return $this->public;
	}
	
	public function accessProtected() {
		return $this->protected;
	}
	
	public function accessPrivate() {
		return $this->private;
	}
	
	public function updatePublic() {
		$this->public = 'public3';
	}
	
	public function updateProtected() {
		$this->protected = 'protected3';
	}
	
	public function updatePrivate() {
		$this->private = 'private3';
	}

}

class DomArTestClass_ExtAccess extends DomArTestClass_Access {

	public function accessPublicExt() {
		return $this->public;
	}
	
	public function accessProtectedExt() {
		return $this->protected;
	}
	
	public function accessPrivateExt() {
		return $this->private;
	}
	
	public function updatePublicExt() {
		$this->public = 'public4';
	}
	
	public function updateProtectedExt() {
		$this->protected = 'protected4';
	}
	
	public function updatePrivateExt() {
		$this->private = 'private4';
	}
	
}
?>